

export enum InnerProtocol {
    /**告诉中间服我是那个服务器 */
    SERVER,
    /**检查房间 */
    CHECK_ROOM,
    /**匹配房间 */
    MATCH_ROOM,
}

/**
 * 结构体命名规范
 * L2B 从lobby到bridge
 * G2B 从game到bridge
 * L2G 从lobby到game
 * G2L 从game到lobby
 */



export class L2B_Server {
    serverId: number = 0
}

export class L2G_Check_Room {
    userId: number = 0;
}

export class G2L_Check_Room {
    roomId: number = 0;
    kindId: number = 0;
}

export class L2G_Match_Room {
    userId: number = 0;
    kindId: number = 0
}

export class G2L_Match_Room {
    roomId: number = 0
}